package com.wangyuhang.service;

import com.wangyuhang.domain.User;
import org.apache.ibatis.annotations.*;

import java.util.List;

public interface userService {

    User findById(Integer id);

    List<User> findAll();

    boolean deleteById(Integer id);

    void save(User user);

    void update(User user);
}
